import request from '@/utils/request'

// 查询工位接口
export function refreshStationData(LineId) {
  return request({
    url: `/homePage/data/refreshStationData/${LineId}`,
    method: 'get'
  })
}

// QC质检
export function qc(query) {
  return request({
    url: '/homePage/data/product/qc',
    method: 'post',
    params: query
  })
}

// 强制放行
export function allowPass(query) {
  return request({
    url: '/homePage/data/product/allowPass',
    method: 'post',
    params: query
  })
}
